<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>班级信息管理——班级详情</title>
<!-- Favicons -->
    <link th:href="@{/libs/niceadmin/assets/img/favicon.png}" rel="icon">
    <link th:href="@{/libs/niceadmin/assets/img/apple-touch-icon.png}" rel="apple-touch-icon">

    <!-- Google Fonts -->



    <!-- Vendor CSS Files -->
    <link th:href="@{/libs/niceadmin/assets/vendor/bootstrap/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/libs/niceadmin/assets/vendor/bootstrap-icons/bootstrap-icons.css}" rel="stylesheet">
    <link th:href="@{/libs/niceadmin/assets/vendor/boxicons/css/boxicons.min.css}" rel="stylesheet">
    <link th:href="@{/libs/niceadmin/assets/vendor/quill/quill.snow.css}" rel="stylesheet">
    <link th:href="@{/libs/niceadmin/assets/vendor/quill/quill.bubble.css}" rel="stylesheet">
    <link th:href="@{/libs/niceadmin/assets/vendor/remixicon/remixicon.css}" rel="stylesheet">
    <link th:href="@{/libs/niceadmin/assets/vendor/simple-datatables/style.css}" rel="stylesheet">

    <!-- Template Main CSS File -->
    <link th:href="@{/libs/niceadmin/assets/css/style.css}" rel="stylesheet">




<!--外部引入-->
    <link rel="stylesheet" th:href="@{/libs/bootstrap/bootstrap4dist/css/bootstrap.css}">
	<link rel="stylesheet" th:href="@{/css/student/mainpage.css}">
	<link rel="stylesheet" th:href="@{/libs/bootstrap-table/unpkg.com_bootstrap-table@1.15.3_dist_bootstrap-table.min.css}">
</head>
<body>
  <!-- ======= Header ======= -->
    <div th:replace="public/main :: header"></div>
    <!-- End Header -->

    <!-- ======= Sidebar ======= -->
    <div th:replace="public/main :: aside"></div>
    <!-- End Sidebar-->

    <main id="main" class="main">

<h2>班级信息管理——班级详情</h2>
<div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;班级名称:&nbsp;&nbsp;&nbsp;<span th:text="${grade.gradeName}"></span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;学生数量:&nbsp;&nbsp;&nbsp;<span th:text="${grade.studentsNumber}"></span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;所在教室:&nbsp;&nbsp;&nbsp;<span th:text="${grade.classroomClassroomNumber}"></span>
</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;班级描述:&nbsp;&nbsp;&nbsp;<span th:text="${grade.gradeDescribe}"></span>
</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;班主任:&nbsp;&nbsp;&nbsp;<span th:text="${grade.classTeacherName}"></span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;讲师:&nbsp;&nbsp;&nbsp;<span th:text="${grade.lecturerName}"></span>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span th:text="${grade.gradeId}" id="gradeId" hidden="hidden"></span></div>

<span th:text="${grade.gradeName}" id="gradeName" hidden="hidden"></span>
<div>

	<!-- 新增按钮 -->
		<button type="button" class="btn btn-primary" data-toggle="modal"
		data-target="#addmodal" data-whatever="@mdo" onclick="xqselect()">新增</button>
</div>
<div>
	<table id="tab" data-pagination="true" data-page-size="4" data-search="true"><!--是分页data-pagination="true" data-page-size="4" data-search="true"-->
	</table>
</div>
<div>
		<input id="addr" hidden th:value="${#httpServletRequest.getScheme()+'://'+#httpServletRequest.getServerName()+':'+#httpServletRequest.getServerPort()+#httpServletRequest.getContextPath()} " />
		<!-- 获取到controller路径 -->
</div>
	<!-- 新增 -->
			<div class="modal fade" id="addmodal" tabindex="-1"
				aria-labelledby="exampleModalLabel" aria-hidden="true">
				<div class="modal-dialog modal-xl">
					<div class="modal-content">
						<div class="modal-header">
							<h5 class="modal-title" id="exampleModalLabel">新增教室信息</h5>
							<button type="button" class="close" data-dismiss="modal"
								aria-label="Close">
								<span aria-hidden="true">&times;</span>
							</button>
						</div>
						<div class="modal-body">
								<table id="table1" data-pagination="true" data-page-size="4" data-search="true"><!--是分页data-pagination="true" data-page-size="4" data-search="true"-->
								</table>
						</div>
					</div>
				</div>
			</div>
		</div>

</div>
 </main><!-- End #main -->

    <!-- ======= Footer ======= -->
    <div th:replace="public/main :: footer"></div>
    <!-- End Footer -->

    <a th:href="@{/libs/niceadmin/#}" class="back-to-top d-flex align-items-center justify-content-center"><i
            class="bi bi-arrow-up-short"></i></a>

    <!-- Vendor JS Files -->
    <script th:src="@{/libs/jquery/jquery-3.5.1.js}"></script>
    <script th:src="@{/libs/niceadmin/assets/vendor/apexcharts/apexcharts.min.js}"></script>
    <script th:src="@{/libs/niceadmin/assets/vendor/bootstrap/js/bootstrap.bundle.min.js}"></script>
    <script th:src="@{/libs/niceadmin/assets/vendor/chart.js/chart.min.js}"></script>
    <script th:src="@{/libs/niceadmin/assets/vendor/echarts/echarts.min.js}"></script>
    <script th:src="@{/libs/niceadmin/assets/vendor/quill/quill.min.js}"></script>
    <script th:src="@{/libs/niceadmin/assets/vendor/simple-datatables/simple-datatables.js}"></script>
    <script th:src="@{/libs/niceadmin/assets/vendor/tinymce/tinymce.min.js}"></script>
    <script th:src="@{/libs/niceadmin/assets/vendor/php-email-form/validate.js}"></script>
    
     <!-- Template Main JS File -->
    <script th:src="@{/libs/niceadmin/assets/js/main.js}"></script>
    
    
<!--外部引入-->
	<script th:src="@{/libs/jquery/jquery-3.5.1.js}"></script>
	<script th:src="@{/libs/bootstrap/bootstrap4dist/js/bootstrap.js}"></script>
	<script th:src="@{/libs/bootstrap-table/unpkg.com_bootstrap-table@1.15.3_dist_bootstrap-table.min.js}"></script>
	<script th:src="@{/libs/bootstrap-table/unpkg.com_bootstrap-table@1.15.3_dist_locale_bootstrap-table-zh-CN.min.js}"></script>
	<script th:src="@{/js/grade/xiangqing.js}"></script>
</body>
</html>